package com.quan.bookmall.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class OrderItemDTO {
    
    private Long id;
    
    private Long orderId;
    
    private Long bookId;
    
    private String bookName;
    
    private String author;
    
    private String isbn;
    
    private Integer quantity;
    
    private BigDecimal price;
    
    private BigDecimal subtotal;
    
    private BookDTO book;
    
    private LocalDateTime createTime;
} 